package com.sunny.dao.impl;

import java.util.Date;

import org.springframework.stereotype.Repository;

import com.sunny.dao.IUserDao;
import com.sunny.model.User;

import framework.base.BaseIbatis3Dao;

/**
 * 用户表 [Dao实现类]
 * 
 * @Description:
 * @author baolin.liu Email:543847778@qq.com
 * @date 2016-08-05 14:08:15
 * @version V1.0
 */
@Repository
public class UserDao extends BaseIbatis3Dao<User> implements IUserDao {
	public Class getEntityClass() {
		return User.class;
	}

	@Override
	public Integer selectCount(User entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void updateFailTimeByUserId(User u) {
		getSqlSession().update("User.updateFailTimeByUserId", u);

	}

	@Override
	public void updateStatusByUserId(User u) {
		getSqlSession().update("User.updateStatusByUserId", u);

	}

}